using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Practices.CompositeWeb;
using Microsoft.Practices.ObjectBuilder;

namespace PageFlowQuickstart.Modules.Customers.Views
{
	public class StartCustomersApprovalViewPresenter : Presenter<IStartCustomersApprovalView>
	{
        CustomersController _controller;
        
        public StartCustomersApprovalViewPresenter([CreateNew] CustomersController controller)
        {
            _controller = controller;
        }

        public override void OnViewInitialized()
        {
            _controller.StartCustomerApproval();
        }
	}
}
